Optimal. Leaf size=64 \[ -\frac{1}{4 a^3 c^2 \left (a^2 x^2+1\right )}-\frac{x \tan ^{-1}(a x)}{2 a^2 c^2 \left (a^2 x^2+1\right )}+\frac{\tan ^{-1}(a x)^2}{4 a^3 c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0643417, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {4934, 4884} \[ -\frac{1}{4 a^3 c^2 \left (a^2 x^2+1\right )}-\frac{x \tan ^{-1}(a x)}{2 a^2 c^2 \left (a^2 x^2+1\right )}+\frac{\tan ^{-1}(a x)^2}{4 a^3 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4934
Rule 4884
Rubi steps
\begin{align*} \int \frac{x^2 \tan ^{-1}(a x)}{\left (c+a^2 c x^2\right )^2} \, dx &=-\frac{1}{4 a^3 c^2 \left (1+a^2 x^2\right )}-\frac{x \tan ^{-1}(a x)}{2 a^2 c^2 \left (1+a^2 x^2\right )}+\frac{\int \frac{\tan ^{-1}(a x)}{c+a^2 c x^2} \, dx}{2 a^2 c}\\ &=-\frac{1}{4 a^3 c^2 \left (1+a^2 x^2\right )}-\frac{x \tan ^{-1}(a x)}{2 a^2 c^2 \left (1+a^2 x^2\right )}+\frac{\tan ^{-1}(a x)^2}{4 a^3 c^2}\\ \end{align*}
Mathematica [A] time = 0.0429549, size = 47, normalized size = 0.73 \[ \frac{\left (a^2 x^2+1\right ) \tan ^{-1}(a x)^2-2 a x \tan ^{-1}(a x)-1}{4 a^3 c^2 \left (a^2 x^2+1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.036, size = 59, normalized size = 0.9 \begin{align*} -{\frac{1}{4\,{a}^{3}{c}^{2} \left ({a}^{2}{x}^{2}+1 \right ) }}-{\frac{x\arctan \left ( ax \right ) }{2\,{a}^{2}{c}^{2} \left ({a}^{2}{x}^{2}+1 \right ) }}+{\frac{ \left ( \arctan \left ( ax \right ) \right ) ^{2}}{4\,{a}^{3}{c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.61264, size = 112, normalized size = 1.75 \begin{align*} -\frac{1}{2} \,{\left (\frac{x}{a^{4} c^{2} x^{2} + a^{2} c^{2}} - \frac{\arctan \left (a x\right )}{a^{3} c^{2}}\right )} \arctan \left (a x\right ) - \frac{{\left ({\left (a^{2} x^{2} + 1\right )} \arctan \left (a x\right )^{2} + 1\right )} a}{4 \,{\left (a^{6} c^{2} x^{2} + a^{4} c^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.61264, size = 113, normalized size = 1.77 \begin{align*} -\frac{2 \, a x \arctan \left (a x\right ) -{\left (a^{2} x^{2} + 1\right )} \arctan \left (a x\right )^{2} + 1}{4 \,{\left (a^{5} c^{2} x^{2} + a^{3} c^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{x^{2} \operatorname{atan}{\left (a x \right )}}{a^{4} x^{4} + 2 a^{2} x^{2} + 1}\, dx}{c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \arctan \left (a x\right )}{{\left (a^{2} c x^{2} + c\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]